FROM openjdk:8-jre-alpine

MAINTAINER zhanjixun(zhanjixun@qq.com)

ENV TZ=PRC
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone

ADD ./target/spring-cloud-demo-zuul-gateway-1.0-SNAPSHOT.jar  /app.jar
ENTRYPOINT ["java","-jar","/app.jar"]
